//
//  TKYRemarkImageCell.m
//  ProgressReportProject
//
//  Created by apple on 2018/4/16.
//  Copyright © 2018年 铁科院. All rights reserved.
//

#import "TKYRemarkImageCell.h"

@implementation TKYRemarkImageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.imagePicV.backgroundColor = [UIColor redColor];
    
    self.imagePicV.contentMode=UIViewContentModeScaleAspectFill;
    self.imagePicV.clipsToBounds=YES;//  是否剪切掉超出 UIImageView 范围的图
    [self.imagePicV setContentScaleFactor:[[UIScreen mainScreen] scale]];
    
    self.imagePicV.userInteractionEnabled = YES;
}


- (IBAction)deleteImageAction:(UIButton *)sender {
    if (self.deleteImageBlock) {
        self.deleteImageBlock(sender);
    }
}

@end
